#include "queen.h"

queen st;

void test1()
{
	queeninit(&st);
	queentailpush(&st, 1);
	queentailpush(&st, 2);
	//queen* ps = &st;
	//while (ps->head)
	//{
	//	printf("%d ", ps->head->_a);
	//	ps->head = ps->head->_next;
	//}
	queenheadpop(&st);
	queenheadpop(&st);
	//queenheadpop(&st);
	/*printf("%d ", queenhead(&st));*/
	/*queentailpush(&st, 3);
	queentailpush(&st, 4);
	printf("%d ", queenhead(&st));
	queenheadpop(&st);
	printf("%d ", queenhead(&st));*/

	//queentailpush(&st, 5);
	//queentailpush(&st, 6);
	//printf("%d ", queenhead(&st));
	//printf("%d ", queentail(&st));

	//queentailpush(&st, 7);
	//queentailpush(&st, 8);
	//printf("%d ", queensize(&st));

	//queentailpush(&st, 9);
	//printf("%d ", queenempty(&st));

	//queentailpush(&st, 10);
	//queentailpush(&st, 11);
	queendestroy(&st);
}

int main()
{
	test1();

	return 0;
}